package com.wzcl.app.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

@EqualsAndHashCode(callSuper = false)
@Data
public class DeliveryDto extends BaseDto{

    @NotBlank(message = "用户手机号不能为空")
    @ApiModelProperty(value = "所属用户手机")
    private String userPhone;

    @NotBlank(message = "订单编号不能为空")
    @ApiModelProperty(value = "订单编号")
    private String orderNo;

    @NotBlank(message = "快递单号不能为空")
    @ApiModelProperty(value = "快递单号")
    private String deliveryNo;

    @NotBlank(message = "快递公司不能为空")
    @ApiModelProperty(value = "快递公司")
    private String company;

    @ApiModelProperty(value = "快递状态")
    private Integer deliveryState;

    @ApiModelProperty(value = "货物描述")
    private String description;
}
